/**
 * 延迟返回上一页
 * @param delay 延迟时间(ms)，默认1500ms
 * @param delta 返回的层级，默认1
 */
export const delayNavigateBack = (delay: number = 1500, delta: number = 1) => {
  setTimeout(() => {
    uni.navigateBack({
      delta
    });
  }, delay);
}; 